
package com.lonely.common.core.page;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 用户信息
 *
 * @author fzzf
 */
@Data
@Accessors(chain = true)
public class Query implements Serializable {

    /**
     * 当前页
     */
    private Integer current = 1;

    /**
     * 每页的数量
     */
    private Integer size = 10;

    /**
     * 升序字段
     */
    private String ascs;

    /**
     * 降序字段
     */
    private String descs;


    public String toString() {
        return "Query(current=" + this.getCurrent() + ", size=" + this.getSize() + ", ascs=" + this.getAscs() + ", descs=" + this.getDescs() + ")";
    }

}
